﻿<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="Statistics.aspx.vb" Inherits="pages_Statistics" title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <p>
        Most checked out book list, high to low:<br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataSourceID="AccessDataSource1">
            <Columns>
                <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
                <asp:BoundField DataField="chekcOutFrequency" HeaderText="Check Out Frequency" 
                    SortExpression="chekcOutFrequency" />
            </Columns>
        </asp:GridView>
        <asp:AccessDataSource ID="AccessDataSource1" runat="server" 
            DataFile="~/App_Data/mis431library.mdb" 
            
            SelectCommand="SELECT [Title], [chekcOutFrequency] FROM [Books] ORDER BY [chekcOutFrequency] DESC">
        </asp:AccessDataSource>
        <br />
        
        
        </p>
</asp:Content>

